package com.testmanager.testmananger.zyyc.interTest.web;

import com.testmanager.testmananger.zyyc.interTest.dto.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hesencun
 * @date: 2021/7/2 11:41 AM
 */

@Slf4j
@RestController
@RequestMapping("/yc/intestTest/web")
public class InterTestResource {


    /**
     * 获取案例基本信息
     * @param caseSearchDto
     * @return
     */
    @PostMapping("/getCase")
    public ResponseEntity getCase(@RequestBody CaseSearchDto caseSearchDto){

        return null;
    }

    /**
     * 获取符合条件的测试案例 测试结果信息
     * @param caseResultSearchDto
     * @return
     */
    @PostMapping("/getTestResults")
    public ResponseEntity getTestResults(@RequestBody CaseTestResultSearchDto caseResultSearchDto){

        return null;
    }


    /**
     * 获取测试案例 测试结果信息 包含日志输出
     * @param caseResultDto
     * @return
     */
    @PostMapping("/getTestResultDetail")
    public ResponseEntity getTestResultDetail(@RequestBody CaseTestResultDto caseResultDto){

        return  null;
    }


    /**
     * 获取suite 测试结果信息
     *
     * @param suiteResultSearchDto
     * @return
     */
    @PostMapping("/getSuiteResult")
    public ResponseEntity getSuiteResult(@RequestBody SuiteResultSearchDto suiteResultSearchDto){
        return null;
    }


    /**
     * 获取测试项目
     * @param ycProjectSearchDto
     * @return
     */
    @PostMapping("/getProjects")
    public ResponseEntity getProjects(@RequestBody YCProjectSearchDto ycProjectSearchDto){
        return null;
    }
}
